<?php
namespace app\admin\model;


class AdminModel extends BaseModel
{
    protected $table = 'sf_admin';
    public function role(){
        return $this->hasOne('app\admin\model\RoleModel','id','role_id');
    }
}
